//
//  HMDiscoverSearchView.m
//  swift-新浪微博OC版-8-29
//
//  Created by 赵玉忠 on 16/8/30.
//  Copyright © 2016年 itcast. All rights reserved.
//

#import "HMDiscoverSearchView.h"

@implementation HMDiscoverSearchView

+(instancetype)searchView{
    HMDiscoverSearchView *view = [[NSBundle mainBundle]loadNibNamed:@"HMDiscoverSearchView" owner:nil options:nil].lastObject;
    return view;
}
-(void)awakeFromNib{
    [super awakeFromNib];
    self.imageEdgeInsets = UIEdgeInsetsMake(0, 10, 0, 0);
    self.titleEdgeInsets = UIEdgeInsetsMake(0, 20, 0, 0);
    
     //设置圆角
    self.layer.cornerRadius = 5;
    self.layer.masksToBounds = true;

}
@end
